//  
//  BGOEvent.h
//  Bango iOS API
//
//  Created by William Shakour on September 8, 2011.
//  Copyrights © 2011 Bango - http://www.bango.net/ - All rights reserved.
//

#import "BGODataType.h"
@class BGOEventParameter;
@class BGOProfile;
@interface BGOEvent : BGODataType {
@private
  NSMutableArray * _eventParameters;
  BGOProfile * _profile;
  NSString * _eventName;
  NSString * _eventDetail;
  NSNumber * _eventTime;
  NSString * _connectionType;
  NSString * _operatorConnectionType;
  NSString * _errorId;
  NSNumber * _errorLevel;
  NSString * _eventValue;
  NSNumber * _eventPosted;
}
@property (readonly, nonatomic, getter=eventParameters) NSArray * eventParameters;
- (void)addToEventParameters:(BGOEventParameter *)eventParameter;
@property (retain, nonatomic) BGOProfile * profile;
@property (copy, nonatomic) NSString * eventName;
@property (copy, nonatomic) NSString * eventDetail;
@property (assign, nonatomic, getter=eventTime, setter=setEventTime:) NSDate * eventTime;
@property (copy, nonatomic) NSString * connectionType;
@property (copy, nonatomic) NSString * operatorConnectionType;
@property (copy, nonatomic) NSString * errorId;
@property (assign, nonatomic, getter=errorLevel, setter=setErrorLevel:) int errorLevel;
@property (copy, nonatomic) NSString * eventValue;
@property (assign, nonatomic, getter=isEventPosted, setter=setEventPosted:) BOOL eventPosted;
+ (BGOEvent *)event;
@end